<div class="search_table_sk">
    <div class="text"></div>
    <div class="search_sk">微博[转发+评论]分析 </div>
    <div class="clear"></div>
</div>
<?php
function check_status($status){
    if($status){
        return '开启';
    }
    return '关闭';
}

?>
<div class="list_table">
    <table width="100%" cellspacing="0" cellpadding="0" border="0" id="u22_table">
        <tbody>
            <tr>
                <td bgcolor="#f9f9f9" colspan="2">
                    监测：<font color="red"><?php echo check_status($blog->getIsActive());?></font> 操作：[ <a href="<?php echo url_for('erp/filter?blog_id='.$blog->getBlogId().'&act=close');?>" >关闭</a> | <a href="<?php echo url_for('erp/filter?blog_id='.$blog->getBlogId().'&act=open');?>" >开启</a> | <a href="http://weibo.com/<?php echo $blog->getWeiboId().'/'.$blog->getMid();?>" target="_blank" title="新窗口打开">查看微博</a> ]
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    每5分钟更新转发+评论，最多同时监测10个，活动结束请关闭监测,BUG反馈、建议<a href='mailto:dehua@focussns.com'>click here</a>.
                    </td>
            </tr>
        </tbody>
    </table>
    <table width="100%" cellspacing="0" cellpadding="0" border="0" id="u22_table">
        <tbody>
            <tr style=" font-size:14px; color:#005b9b;">
                <td bgcolor="#c7e8ff" height="35">微博编号</td>
                <td bgcolor="#c7e8ff">微博昵称</td>
            </tr>
            <?php foreach ($rs as $k => $v):?>
            <?php $user = unserialize($v['user']);?>
            <tr>
                <td bgcolor="#f9f9f9" height="35"><a title="新窗口打开" target="_blank" href="http://weibo.com/<?php echo $user['id'];?>"><?php echo $user['id'];?></a></td>
                <td bgcolor="#f9f9f9"><?php echo $user['screen_name'];?></td>
            </tr>
            
            <?php  endforeach;?>
            <tr>
                <td bgcolor="#f9f9f9" height="35" colspan="2"><?php echo $pager;?></td>
            </tr>

        </tbody>
    </table>

</div>